/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-10
 * TIME:18:17
 */
public class Test extends MyArrayList{
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        /*myArrayList.display();
        myArrayList.add(1);
        myArrayList.display();
        System.out.println(myArrayList.elem .length);*/
        System.out.println("=====================");
        myArrayList.add(2);
        //myArrayList.add(2,3);
        myArrayList.display();
        System.out.println(myArrayList.contains(3));
    }


}
